home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / utils2 / search.zip / SEARCH.DOC < prev    next >
Text File  |  1994-06-03  |  7KB  |  174 lines

  1. SEARCH version 6.11
  2. Copyright De Vries Automatisering 1988-1994
  3. (Questions, remarks, bug-info to Compuserve mail 100121,3102)
  4.  
  5. History:
  6. --------
  7. This program was developed first to find only files on a harddisk.
  8. All the features now availble are put in after 6 years of usage.
  9. This program is supplied free to all our customers buying out software.
  10.  
  11. It is widely used, that's why we want to share it with you!
  12. Use it, it is FREEWARE.
  13.  
  14. >>>>>>>>> WARNING <<<<<<<<<<
  15. SEARCH always starts searching in the root directory of the current drive!
  16. So be carefull when using the delete options of the program.
  17. Program can ALWAYS be interrupted by pressing the ESC key!
  18.  
  19. The program:
  20. ------------
  21. It is only 30 Kbytes but it is full with features. It is fast and flexible.
  22. It is usefull for finding files, viewing files, changing attributes etc.
  23. For list of commandline options start program without options.
  24.  
  25. Commandline options :
  26. ---------------------
  27. You can mix file-specs and options as you wish, but only op to ten
  28. file-specs are allowed.
  29. The usage of '*' and '?' wildcards is NOT the same as in DOS, it is more
  30. flexible. You can use '*' and '?' more than once in the spec.
  31.  
  32. '?' = match 1 karakter.
  33. '*' = match zero or more karakters.
  34.  
  35.  
  36. Options:
  37. --------
  38.  
  39. -A[rhsvda]  : Search only for files with given attribute(s)
  40.               SEARCH *.doc -ah
  41.               Search for al 'doc' files on current drive with only
  42.               hidden attribute.
  43.  
  44. -BX         : Copy found files to path 'X'
  45.               SEARCH *.doc -ba:
  46.               Search for al 'doc' files on current drive and copy them
  47.               to drive a:
  48.  
  49. -C[-][+][=][yymmdd] : Search only for files before/after/on supplied date
  50.               SEARCH *.doc *.bat -c=940401
  51.               Search for 'doc' and 'bat' files created on april first 1994.
  52.  
  53. -D[Y][N]   : Delete found files.
  54.              SEARCH *.doc -dy
  55.              Delete all 'doc' files on current drive without asking for
  56.              confirmation.
  57.  
  58. -E[program] : Execute 'program' in every directory where the found file is.
  59.               SEARCH *.doc -edosome.exe
  60.               Search for all 'doc' files on current drive, and in every
  61.               directory where 'doc' files are found, execute program
  62.               dosome.exe.
  63.               You can use parameters with the supplied program :
  64.               SEARCH *.doc -e"dosome.exe special"
  65.  
  66. -F          : Use fast screenoutput. (Write directly to screen memory)
  67.               Do not use this if you want to redirect output to a file!
  68.  
  69. -G          : Switch to directory where first found file resides.
  70.               SEARCH editor.exe -g            
  71.               Switch to directory where first found editor.exe resides.
  72.  
  73. -H          : Do not start searching in root-directory but in the current
  74.               directory (and all other directories from here)
  75.  
  76. -I          : Delete empty subdirectories encountered in search.
  77.  
  78. -J          : After search is completed ask for keypress before exiting the
  79.               program.
  80.               Usefull if you start the program from a multitasker in a window.
  81.  
  82. -K          : Show the directory where SEARCH is searching at the moment.
  83.  
  84. -L[-][+][=]length : Search only for files smaller/bigger/equal to the
  85.                     given length.
  86.                     SEARCH *.doc -l+4096
  87.                     Search for all 'doc' files on current drive with a
  88.                     filelength exceeding 4 Kbytes.
  89.  
  90. -MX         : Move found files to 'X'
  91.               SEARCH *.doc -Md:
  92.               Move all 'doc' files from current disk to d:
  93.               >>>> Use only for moving files to another disk <<<<<
  94.  
  95. -N          : Normally SEARCH will ask for a keypress whenever the screen 
  96.               is full, and then scroll. This option disables this. 
  97.  
  98. -O          : Produces a list of found files with full pathnames only.
  99.               (No other information)
  100.  
  101. -P          : In search for given files, not all subdirectories are parsed,
  102.               but only the paths given in the 'PATH' environent variable.
  103.               Usefull if you want to know where an executable is started from.
  104.  
  105. -Q          : Search only in current directory, nowhere else.
  106.  
  107. -R          : Use wide-format screenoutput with only filenames.
  108.  
  109. -S[T][B]    : Print files on screen, after confirmation.
  110.               SEARCH *.doc -ST
  111.               Search for all 'doc' files on current drive an print them on 
  112.               screen(text) after confirmation.
  113.               SEARCH *.doc -SB
  114.               Search for all 'doc' files on current drive an print them on 
  115.               screen(hexdump) after confirmation.
  116.  
  117. -T[spec]    : Exclude files with 'spec' from search
  118.               SEARCH *.* -t*.doc
  119.               Search for all files on current drive, except 'doc' files.
  120.  
  121. -U          : Execute first found file after confirmation.
  122.               search editor.exe -u
  123.               Search for editor.exe and execute if found.
  124.  
  125. -V[-][+][rhsa] : Change fileattributes from found files.
  126.                  Search *.doc -a+r
  127.                  Make all 'doc' files on current drive read-only
  128.  
  129. -W[abcdef...]  : Search drives given.
  130.                  SEARCH *.doc -wcd
  131.                  Search for all doc files on drive c: and d:
  132.  
  133. -X             : Only show totals of found files.
  134.  
  135. -Z             : Delete directory-tree from current directory.
  136.                  (Combination of options -i -h -dn)
  137.  
  138.  
  139. Combining commandline options:
  140. ------------------------------
  141.  
  142. Examples:
  143.  
  144.     SEARCH *.bak *.sym -dn
  145.        Delete all 'bak' and 'sym' files from current drive.
  146.  
  147.     SEARCH *.doc -c=931231 -l+5000 -ba:
  148.        Copy all 'doc' files created on december 31 1993 with a length
  149.        exceeding 5000 bytes to drive a:
  150.  
  151.     SEARCH *.tmp -q -ar -v-r -dn
  152.        Find all 'tmp' files in current directory which are read-only,
  153.        switch off the read-only attribute and delete the file without asking.
  154.        (Deleting is always done last)
  155.  
  156.     SEARCH *.* -l+1000000
  157.        Search for all files on current drive greater than 1000000 bytes.
  158.  
  159.     SEARCH *.c -q -c-930101 -o *.h >source.txt
  160.        Search for all 'c' and 'h' files in current directory created before
  161.        january first 1993, produce a full-pathname list, and redirect it
  162.        to a file calles 'source.txt'
  163.  
  164.     SEARCH *.* -l=0 -dn
  165.        Search for all zero-length files on current drive and delete them.
  166.  
  167.     SEARCH *.tmp -ba: -dn
  168.        Copy all 'temp' files on current drive to a: and delete them afterwards.
  169.  
  170. etc. etc. etc.
  171.  
  172.  
  173.  
  174.